﻿@{
    Bundle("jquery_validate");
}

<ul>
@foreach(var i in Model.Sessions)
{
    <li>
        <ul class="bar inlinebar">
            <li><a class="confirm" href="@Url.Action(Loc.Act("CloseSession").Ctrl("Account").Set(new
            {
                accountID = JDM.Int32(Model.EntityID), 
                sessionID = JDM.Int32(i.EntityID)
            }))">x</a></li>
        </ul>
        <label>@String.Format("{0} ({1})", i.Source, Svc.DateTime((DateTime)JDM.DateTime(i.AccessedOn)))</label>
    </li>
}
</ul>